home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Internet Info 1994 March
/
Internet Info CD-ROM (Walnut Creek) (March 1994).iso
/
networking
/
ip
/
ka9q
/
MNetsrc.hqx
/
Mac TCP_IP Source v.33
/
icmpmsg.c
< prev
next >
Wrap
C/C++ Source or Header
|
1989-01-13
|
672b
|
47 lines
#include "global.h"
/* ICMP message types */
char *icmptypes[] = {
"Echo Reply",
NULLCHAR,
NULLCHAR,
"Unreachable",
"Source Quench",
"Redirect",
NULLCHAR,
NULLCHAR,
"Echo Request",
NULLCHAR,
NULLCHAR,
"Time Exceeded",
"Parameter Problem",
"Timestamp",
"Timestamp Reply",
"Information Request",
"Information Reply"
};
/* ICMP unreachable messages */
char *unreach[] = {
"Network",
"Host",
"Protocol",
"Port",
"Fragmentation",
"Source route"
};
/* ICMP Time exceeded messages */
char *exceed[] = {
"Time-to-live",
"Fragment reassembly"
};
/* ICMP redirect messages */
char *redirect[] = {
"Network",
"Host",
"TOS & Network",
"TOS & Host"
};